
    <input type="hidden" name="pay_channel" value="<?=$type;?>" id="pay_channels"/>
    <table width="750" border="0" align="center" cellpadding="0" cellspacing="0" class="table1">
        <tr>
            <td class="ld">账号类型：</td>
            <td><label><input type="radio" name="account_type" value="0"/> 昵称</label>
                <label><input type="radio" name="account_type" value="1" checked="checked"/>通行证</label></td>
        </tr>
        <tr>
            <td class="ld">您需要充值的账号：</td>
            <td><input name="passport" type="text" class="input2" id="username_id" onblur="user.checkUserName(1)"/>
                <span class="color1" id="username_notice_id"> 请输入账号</span></td>
        </tr>
        <tr>
            <td class="ld">确认您要充值的账号：</td>
            <td><input name="re_passport" type="text" class="input2" id="re_username_id" onblur="pay.checkRePassport(1)"/>
                <span class="color1" id="re_username_notice_id">请确认您输入的账号</span></td>
        </tr>

        <?php if ($type == 'szx') {?>
        <tr>
            <td class="ld">请选择充值金额：</td>
            <td>
                <label>
                    <select name="amount" class="input3" style="width: 190px;height: 25px;color: #000000;font-size: 12px;" id="amount_id">
                        <option value="10" selected="selected">神州行10元卡（900元宝）</option>
                        <option value="50" selected="selected">神州行50元卡（4700元宝）</option> <option value="100">神州行100元卡 (9300元宝)</option>
                    </select>
                </label>
                <span class="color1" id="amount_notice_id">请选择充值金额！</span>

                <div style="margin-top:6px; color:#666666;">人民币与元宝比例：1:100</div>
            </td>
        <?php } elseif($type == 'game_card') {?>
        <tr> <td class="ld">请选择充值金额：</td>
            <td> <span class="color1">
                    <label>
                      <select name="amount" class="input3" style="width: 190px;height: 25px;color: #000000;font-size: 12px;" id="amount_id">
                          <option value="5" selected="selected"> 盛大一卡通5 元卡(400元宝)</option>
                          <option value="10"> 盛大一卡通10 元卡(800元宝)</option>
                          <option value="15"> 盛大一卡通15 元卡(1200元宝)</option>
                          <option value="30"> 盛大一卡通30 元卡(2500元宝)</option>
                          <option value="35"> 盛大一卡通35 元卡(2900元宝)</option>
                          <option value="45"> 盛大一卡通45 元卡(3800元宝)</option>
                          <option value="100"> 盛大一卡通100 元卡(8500元宝)</option>
                          <option value="300"> 盛大一卡通300 元卡(25500元宝)</option>
                          <option value="350"> 盛大一卡通350 元卡(29700元宝)</option>
                          <option value="1000"> 盛大一卡通1000 元卡(85000元宝)</option>
                      </select>
                    </label> <span id="amount_notice_id">请选择相应的点卡</span>
                </span> <div style="margin-top:6px; color:#666666;">人民币与元宝比例：1:100</div> </td>
        <?php } else {?>
        <tr> <td class="ld">请输入充值金额：</td>
            <td><input name="amount" type="text" class="input3" value="" id="amount_id" onkeyup="pay.checkAmount(this)"/>
                <span class="color1" id="amount_notice_id">请输入正数，请使用半角字符</span> <div style="margin-top:6px; color:#666666;">人民币与元宝比例：1:100</div> </td>
        <?php }?>
        </tr>
    </table>
    <div class="post">
        <input name="button" type="button" class="button2" onclick="pay.submitPay(1)"/>
    </div>


    <!--充值确认弹出层开始-->

    <div id="pay_confirm" class="mydiv" style="display:none;">

        <div class="layer_tt"><h2>充值确认</h2><a href="javascript:pay.closeDiv('pay_confirm')"></a></div>
        <div class="layer_con">
            <div class="p1">您正要为：TOM对弈充值<span class="color2" id="layer_amount_id">150</span>元</div>
            <div class="p2">
                <table class="table2" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="ltd">充值账户：</td>
                        <td id="layer_username_id"></td>
                    </tr>
                    <tr>
                        <td class="ltd">充值方式：</td>
                        <td id="layer_pay_channel">网上银行</td>
                    </tr>
                </table>
            </div>
            <div class="p3"><input name="提交" type="button" value="立即付款" class="button3" onclick="pay.submit()"/>
                <input type="button" value="取消" class="button4" onclick="pay.closeDiv('pay_confirm')">
            </div>
        </div>
        <div class="layer_bottom"></div>
    </div>
    <!--div id="bg" class="bg" style="display:none;"></div-->
    <!--iframe id='popIframe' class='popIframe' frameborder='0'></iframe-->

    <!--充值确认弹出层结束-->




    <!--弹出层开始-->
    <div id="pay_later" class="mydiv" style="display:none;">
        <div class="layer_tt"><h2>付款中...</h2><a href="javascript:pay.closeDiv('pay_later')"></a></div>
        <div class="layer_con">
            <div class="paying">
                请您在新打开的页面完成付款！<br/>
                付款完成前请不要关闭本窗口！<br/>
                <span>完成付款后，根据您的情况点击下面的按钮！</span>
                <p><img src="/images/running.gif"/></p>
            </div>
            <div class="p3">
                <input name="提交" type="button" value="已完成付款" class="button3" onclick="pay.closeDiv('pay_later')"/>
                <input type="button" value="付款遇到问题" class="button5" onclick="wq.goToUrl('/pay/pay_help?pay_help_type=<?=$type;?>')">
            </div>
        </div>
        <div class="layer_bottom"></div>
    </div>
    <!--div id="bg" class="bg" style="display:none;"></div-->
    <!--iframe id='popIframe' class='popIframe' frameborder='0'></iframe-->

    <!--弹出层结束束-->